<?php
/**
 * 交易平台接口异常
 * Author: zengdeshun
 * Date 2018-6-21 19:49:34
 */
namespace app\common\exception;

class SmsCode extends Base
{
    const E_DEFAULT = '25001';
    const E_CODE_NO = '25002';
    const E_CODE_EXPIRE = '25003';
    const E_CODE_MANY = '25004';
    const E_HAVE_CHECKED = '25005';
    const E_SEND_FAIL = '25006';

    public static $messageList = [
        self::E_DEFAULT             => '系统错误，请稍后重试',
        self::E_CODE_NO             => '验证码错误',
        self::E_CODE_EXPIRE         => '验证码已过期',
        self::E_CODE_MANY           => '发送太频繁，请稍后再试',
        self::E_HAVE_CHECKED        => '验证码已无效',
        self::E_SEND_FAIL           => '验证码发送失败',
        ];
}